package com.tms.goods.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tms_goods
 *
 * @author ruoyi
 * @date 2024-11-06
 */
public class TmsGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String ddh;

    /** 始发地 */
    @Excel(name = "始发地")
    private String sfd;

    /** 目的地 */
    @Excel(name = "目的地")
    private String mdd;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String kcname;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String status;

    /** 发货联系人姓名 */
    @Excel(name = "发货联系人姓名")
    private String fname;

    /** 发货电话 */
    @Excel(name = "发货电话")
    private Long fphone;

    /** 发货地址 */
    @Excel(name = "发货地址")
    private String faddress;

    /** 收货联系人姓名 */
    @Excel(name = "收货联系人姓名")
    private String sname;

    /** 收货电话 */
    @Excel(name = "收货电话")
    private Long sphone;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String saddress;

    /** 预计发货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计发货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ktime;

    /** 预计收货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计收货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stime;

    /** 订单类型 */
    @Excel(name = "订单类型")
    private String ddlx;

    /** 货物类型 */
    @Excel(name = "货物类型")
    private String hwlx;

    /** 货物数量 */
    @Excel(name = "货物数量")
    private Long hwnum;

    /** 总体积 */
    @Excel(name = "总体积")
    private Long ztj;

    /** 总重量 */
    @Excel(name = "总重量")
    private Long zl;

    /** 运费合计 */
    @Excel(name = "运费合计")
    private Long yfhj;

    /** 订单来源 */
    @Excel(name = "订单来源")
    private String laiyaun;

    /** 订单备注 */
    @Excel(name = "订单备注")
    private String bz;

    /** 下单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 创建人 */
    @Excel(name = "创建人")
    private String cjr;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cjtime;

    /** 合同 */
    @Excel(name = "合同")
    private String hetong;

    private Integer num;

    private Integer ddd; //待调度订单

    private Integer dsh; //待审核订单

    private Integer dfc; //待发车订单

    private Integer ysz; //在途运单

    private Integer dqs; //代签收订单

    private Integer dcl; //待处理订单

    private Integer dhs;  //待回收订单

    private Integer djd; //待接单订单

    private Integer ycyd;  //异常运单





    public Integer getNum() {
        return num;
    }

    public TmsGoods(Integer num) {
        this.num = num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public TmsGoods(Integer djd, Integer ycyd) {
        this.djd = djd;
        this.ycyd = ycyd;
    }

    public Integer getDjd() {
        return djd;
    }

    public void setDjd(Integer djd) {
        this.djd = djd;
    }

    public Integer getYcyd() {
        return ycyd;
    }

    public void setYcyd(Integer ycyd) {
        this.ycyd = ycyd;
    }

    public TmsGoods(Integer ddd, Integer dsh, Integer dfc, Integer ysz, Integer dqs, Integer dcl, Integer dhs) {
        this.ddd = ddd;
        this.dsh = dsh;
        this.dfc = dfc;
        this.ysz = ysz;
        this.dqs = dqs;
        this.dcl = dcl;
        this.dhs = dhs;
    }

    public Integer getDdd() {
        return ddd;
    }

    public void setDdd(Integer ddd) {
        this.ddd = ddd;
    }

    public Integer getDsh() {
        return dsh;
    }

    public void setDsh(Integer dsh) {
        this.dsh = dsh;
    }

    public Integer getDfc() {
        return dfc;
    }

    public void setDfc(Integer dfc) {
        this.dfc = dfc;
    }

    public Integer getYsz() {
        return ysz;
    }

    public void setYsz(Integer ysz) {
        this.ysz = ysz;
    }

    public Integer getDqs() {
        return dqs;
    }

    public void setDqs(Integer dqs) {
        this.dqs = dqs;
    }

    public Integer getDcl() {
        return dcl;
    }

    public void setDcl(Integer dcl) {
        this.dcl = dcl;
    }

    public Integer getDhs() {
        return dhs;
    }

    public void setDhs(Integer dhs) {
        this.dhs = dhs;
    }


    @Excel(name = "货物名称")
    private String hwmc;

    public TmsGoods() {
    }

    public TmsGoods(String hwmc) {
        this.hwmc = hwmc;
    }

    public String getHwmc() {
        return hwmc;
    }

    public void setHwmc(String hwmc) {
        this.hwmc = hwmc;
    }

    /** 运输类型 */
    @Excel(name = "运输类型")
    private String yslx;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String chetype;

    /** 车长 */
    @Excel(name = "车长")
    private String chechang;

    /** 用车数量 */
    @Excel(name = "用车数量")
    private Long ycnum;

    /** 计费方式 */
    @Excel(name = "计费方式")
    private String jsfs;

    /** 运输费 */
    @Excel(name = "运输费")
    private Long yunshufei;

    /** 保险费 */
    @Excel(name = "保险费")
    private Long baoxianfei;

    /** 包装费 */
    @Excel(name = "包装费")
    private Long baozhuangfei;

    /** 装卸费 */
    @Excel(name = "装卸费")
    private Long zhuangxiefei;

    /** 中转费 */
    @Excel(name = "中转费")
    private Long zhongzhuanfei;

    /** 燃油费 */
    @Excel(name = "燃油费")
    private Long ryf;

    /** 服务费 */
    @Excel(name = "服务费")
    private Long fwf;

    /** 其他费用 */
    @Excel(name = "其他费用")
    private Long qtfy;

    /** 费用合计 */
    @Excel(name = "费用合计")
    private Long fyhj;

    /** 现付 */
    @Excel(name = "现付")
    private Long xf;

    /** 预付 */
    @Excel(name = "预付")
    private Long yf;

    /** 到付 */
    @Excel(name = "到付")
    private Long df;

    /** 周期费 */
    @Excel(name = "周期费")
    private Long zqf;

    /** 付费合计 */
    @Excel(name = "付费合计")
    private Long ffhj;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDdh(String ddh)
    {
        this.ddh = ddh;
    }

    public String getDdh()
    {
        return ddh;
    }
    public void setSfd(String sfd)
    {
        this.sfd = sfd;
    }

    public String getSfd()
    {
        return sfd;
    }
    public void setMdd(String mdd)
    {
        this.mdd = mdd;
    }

    public String getMdd()
    {
        return mdd;
    }
    public void setKcname(String kcname)
    {
        this.kcname = kcname;
    }

    public String getKcname()
    {
        return kcname;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setFname(String fname)
    {
        this.fname = fname;
    }

    public String getFname()
    {
        return fname;
    }
    public void setFphone(Long fphone)
    {
        this.fphone = fphone;
    }

    public Long getFphone()
    {
        return fphone;
    }
    public void setFaddress(String faddress)
    {
        this.faddress = faddress;
    }

    public String getFaddress()
    {
        return faddress;
    }
    public void setSname(String sname)
    {
        this.sname = sname;
    }

    public String getSname()
    {
        return sname;
    }
    public void setSphone(Long sphone)
    {
        this.sphone = sphone;
    }

    public Long getSphone()
    {
        return sphone;
    }
    public void setSaddress(String saddress)
    {
        this.saddress = saddress;
    }

    public String getSaddress()
    {
        return saddress;
    }
    public void setKtime(Date ktime)
    {
        this.ktime = ktime;
    }

    public Date getKtime()
    {
        return ktime;
    }
    public void setStime(Date stime)
    {
        this.stime = stime;
    }

    public Date getStime()
    {
        return stime;
    }
    public void setDdlx(String ddlx)
    {
        this.ddlx = ddlx;
    }

    public String getDdlx()
    {
        return ddlx;
    }
    public void setHwlx(String hwlx)
    {
        this.hwlx = hwlx;
    }

    public String getHwlx()
    {
        return hwlx;
    }
    public void setHwnum(Long hwnum)
    {
        this.hwnum = hwnum;
    }

    public Long getHwnum()
    {
        return hwnum;
    }
    public void setZtj(Long ztj)
    {
        this.ztj = ztj;
    }

    public Long getZtj()
    {
        return ztj;
    }
    public void setZl(Long zl)
    {
        this.zl = zl;
    }

    public Long getZl()
    {
        return zl;
    }
    public void setYfhj(Long yfhj)
    {
        this.yfhj = yfhj;
    }

    public Long getYfhj()
    {
        return yfhj;
    }
    public void setLaiyaun(String laiyaun)
    {
        this.laiyaun = laiyaun;
    }

    public String getLaiyaun()
    {
        return laiyaun;
    }
    public void setBz(String bz)
    {
        this.bz = bz;
    }

    public String getBz()
    {
        return bz;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }
    public void setCjr(String cjr)
    {
        this.cjr = cjr;
    }

    public String getCjr()
    {
        return cjr;
    }
    public void setCjtime(Date cjtime)
    {
        this.cjtime = cjtime;
    }

    public Date getCjtime()
    {
        return cjtime;
    }
    public void setHetong(String hetong)
    {
        this.hetong = hetong;
    }

    public String getHetong()
    {
        return hetong;
    }
    public void setYslx(String yslx)
    {
        this.yslx = yslx;
    }

    public String getYslx()
    {
        return yslx;
    }
    public void setChetype(String chetype)
    {
        this.chetype = chetype;
    }

    public String getChetype()
    {
        return chetype;
    }
    public void setChechang(String chechang)
    {
        this.chechang = chechang;
    }

    public String getChechang()
    {
        return chechang;
    }
    public void setYcnum(Long ycnum)
    {
        this.ycnum = ycnum;
    }

    public Long getYcnum()
    {
        return ycnum;
    }
    public void setJsfs(String jsfs)
    {
        this.jsfs = jsfs;
    }

    public String getJsfs()
    {
        return jsfs;
    }
    public void setYunshufei(Long yunshufei)
    {
        this.yunshufei = yunshufei;
    }

    public Long getYunshufei()
    {
        return yunshufei;
    }
    public void setBaoxianfei(Long baoxianfei)
    {
        this.baoxianfei = baoxianfei;
    }

    public Long getBaoxianfei()
    {
        return baoxianfei;
    }
    public void setBaozhuangfei(Long baozhuangfei)
    {
        this.baozhuangfei = baozhuangfei;
    }

    public Long getBaozhuangfei()
    {
        return baozhuangfei;
    }
    public void setZhuangxiefei(Long zhuangxiefei)
    {
        this.zhuangxiefei = zhuangxiefei;
    }

    public Long getZhuangxiefei()
    {
        return zhuangxiefei;
    }
    public void setZhongzhuanfei(Long zhongzhuanfei)
    {
        this.zhongzhuanfei = zhongzhuanfei;
    }

    public Long getZhongzhuanfei()
    {
        return zhongzhuanfei;
    }
    public void setRyf(Long ryf)
    {
        this.ryf = ryf;
    }

    public Long getRyf()
    {
        return ryf;
    }
    public void setFwf(Long fwf)
    {
        this.fwf = fwf;
    }

    public Long getFwf()
    {
        return fwf;
    }
    public void setQtfy(Long qtfy)
    {
        this.qtfy = qtfy;
    }

    public Long getQtfy()
    {
        return qtfy;
    }
    public void setFyhj(Long fyhj)
    {
        this.fyhj = fyhj;
    }

    public Long getFyhj()
    {
        return fyhj;
    }
    public void setXf(Long xf)
    {
        this.xf = xf;
    }

    public Long getXf()
    {
        return xf;
    }
    public void setYf(Long yf)
    {
        this.yf = yf;
    }

    public Long getYf()
    {
        return yf;
    }
    public void setDf(Long df)
    {
        this.df = df;
    }

    public Long getDf()
    {
        return df;
    }
    public void setZqf(Long zqf)
    {
        this.zqf = zqf;
    }

    public Long getZqf()
    {
        return zqf;
    }
    public void setFfhj(Long ffhj)
    {
        this.ffhj = ffhj;
    }

    public Long getFfhj()
    {
        return ffhj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ddh", getDdh())
                .append("sfd", getSfd())
                .append("mdd", getMdd())
                .append("kcname", getKcname())
                .append("status", getStatus())
                .append("fname", getFname())
                .append("fphone", getFphone())
                .append("faddress", getFaddress())
                .append("sname", getSname())
                .append("sphone", getSphone())
                .append("saddress", getSaddress())
                .append("ktime", getKtime())
                .append("stime", getStime())
                .append("ddlx", getDdlx())
                .append("hwlx", getHwlx())
                .append("hwnum", getHwnum())
                .append("ztj", getZtj())
                .append("zl", getZl())
                .append("yfhj", getYfhj())
                .append("laiyaun", getLaiyaun())
                .append("bz", getBz())
                .append("time", getTime())
                .append("cjr", getCjr())
                .append("cjtime", getCjtime())
                .append("hetong", getHetong())
                .append("yslx", getYslx())
                .append("chetype", getChetype())
                .append("chechang", getChechang())
                .append("ycnum", getYcnum())
                .append("jsfs", getJsfs())
                .append("yunshufei", getYunshufei())
                .append("baoxianfei", getBaoxianfei())
                .append("baozhuangfei", getBaozhuangfei())
                .append("zhuangxiefei", getZhuangxiefei())
                .append("zhongzhuanfei", getZhongzhuanfei())
                .append("ryf", getRyf())
                .append("fwf", getFwf())
                .append("qtfy", getQtfy())
                .append("fyhj", getFyhj())
                .append("xf", getXf())
                .append("yf", getYf())
                .append("df", getDf())
                .append("zqf", getZqf())
                .append("ffhj", getFfhj())
                .toString();
    }
}
